import type { App } from 'vue'
import {
  IBizListExtviewControl,
  IBizAvatarCollapseBtn,
  IBizDynamicTextExtend,
  RegisterAggGridProvider,
  IBizFilterCondition,
  IBizFilterSelect,
  IBizFormItemG6Design,
  IBizFormSearchItem,
  IBizListIcon,
  IBizListText,
  IBizMdCtrlCXItem,
  IBizSearchDisplayBar,
  IBizTileMap
} from './components'
import { registerUIActionPluginProvider, registerUILogicPluginProvider } from './ui-action'
import { IBizExtendGridView } from './views'

// 全量使用
export default {
  install(app: App) {
    app.use(IBizListExtviewControl)
    app.use(IBizAvatarCollapseBtn)
    app.use(IBizDynamicTextExtend)
    app.use(IBizFilterCondition)
    app.use(IBizFilterSelect)
    app.use(IBizFormItemG6Design)
    app.use(IBizFormSearchItem)
    app.use(IBizListIcon)
    app.use(IBizListText)
    app.use(IBizMdCtrlCXItem)
    app.use(IBizSearchDisplayBar)
    app.use(IBizExtendGridView)
    app.use(IBizTileMap)
    registerUIActionPluginProvider()
    registerUILogicPluginProvider()
    RegisterAggGridProvider()
  }
}
